package com.pzh.assignment.common.bean.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginParam implements Serializable {
    @NotBlank(message = "用户名不能为空")
    private String account;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "key不能为空")
    private String key;

    @NotBlank(message = "验证码不能为空")
    private String code;

}
